
package www.ptj.zuoye;
public class MyStudent_2 {
    public static void main(String[] args) {
        Student sum3 = new Student();
        sum3.name = args[4];
        sum3.college = args[1];
        sum3.class1 = args[3];
        sum3.grade = args[0];
        sum3.oop = Integer.parseInt(args[5]);
        sum3.np =Integer.parseInt(args[6]);
        sum3.db = Integer.parseInt(args[7]);
        sum3.profession = args[2];
        System.out.println("学生的名字是" + sum3.name);
        System.out.println("学生的学院是" + sum3.college);
        System.out.println("学生的专业是" + sum3.profession);
        System.out.println("学生的班级是" + sum3.class1);
        System.out.println("学生的总成绩是" + sum3.sum_score());
    }


}

